#!/bin/bash


# while {条件}
# do
#     代码块
# done

# for ((;;))
# do
#     echo  "123"
# done

#死循环
# while  (true) 
# do
#     echo  "hello world"
# done

# 
a=0
while [ $a -lt 10 ]
do
    #a--
    #(( a++ ))  #运算(( ))
    # a=$(($a-1))
    (( a++ ))
    if [ $a  -eq  5 ];then
        echo  ${a}
    elif [ $a -eq  8 ];then
        echo  "执行continue语句"
        continue
    elif [ $a -eq  9 ];then
        echo  "执行break语句"
        break 
    else
        echo  "执行结束！！！！！"
    fi
    
done
